<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        img {
            width: 40px;
        }
    </style>
</head>

<body>
    <table border="1" width="500" style="text-align: center;border-collapse: collapse;">
        <thead>
            <tr>
                <th>
                    全选<input type="checkbox" class="check-all">
                </th>
                <th>
                    商品
                </th>
                <th>
                    单价
                </th>
                <th>
                    数量
                </th>
                <th>
                    总价
                </th>
            </tr>
        </thead>

        <tbody>
            <tr>
                <td>
                    <input type="checkbox" class="check-one">
                </td>
                <td>
                    <img src="img/1.jpg" alt="">
                </td>
                <td>
                    30
                </td>
                <td>
                    <button class="red">-</button>
                    <span>1</span>
                    <button class="add">+</button>
                </td>
                <td>
                    30
                </td>
            </tr>

         


        </tbody>
    </table>
    <script src="./lib/require.js" data-main="main"></script>
</body>

</html>